package com.flow.demo.module.gd.controller.admin.user.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.flow.demo.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.flow.demo.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 客户信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class GdUserPageReqVO extends PageParam {

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "昵称", example = "李四")
    private String nickName;

    @Schema(description = "union_id", example = "9570")
    private String unionId;

    @Schema(description = "公众号openid", example = "31277")
    private String publicOpenid;

    @Schema(description = "小程序openid", example = "8901")
    private String programOpenid;

    @Schema(description = "小程序消息推送订阅状态：0-未订阅 1-已订阅", example = "1")
    private Boolean subscribeStatus;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}